package com.tfswx.jcyw.print.bean;

import javafx.print.Paper;
import lombok.Getter;

/**
 * @author 张述江
 * @date 2023-11-02
 */
@Getter
public class PaperItem {

    private final Paper paper;

    public PaperItem(Paper paper) {
        this.paper = paper;
    }

    @Override
    public String toString() {
        return paper.getName();
    }

    public double getWidth() {
        return paper.getWidth();
    }

    public double getHeight() {
        return paper.getHeight();
    }
}
